package com.crm.dao.mapper.productManager;

import com.crm.model.entity.productManager.CustomerProduct;
import com.crm.model.entity.productManager.CustomerProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomerProductMapper {
    long countByExample(CustomerProductExample example);

    int deleteByExample(CustomerProductExample example);

    int deleteByPrimaryKey(String customerProductId);

    int insert(CustomerProduct record);

    int insertSelective(CustomerProduct record);

    List<CustomerProduct> selectByExampleWithBLOBs(CustomerProductExample example);

    List<CustomerProduct> selectByExample(CustomerProductExample example);

    CustomerProduct selectByPrimaryKey(String customerProductId);

    int updateByExampleSelective(@Param("record") CustomerProduct record, @Param("example") CustomerProductExample example);

    int updateByExampleWithBLOBs(@Param("record") CustomerProduct record, @Param("example") CustomerProductExample example);

    int updateByExample(@Param("record") CustomerProduct record, @Param("example") CustomerProductExample example);

    int updateByPrimaryKeySelective(CustomerProduct record);

    int updateByPrimaryKeyWithBLOBs(CustomerProduct record);

    int updateByPrimaryKey(CustomerProduct record);
}